package cn.pomelo.album.service;

import cn.pomelo.album.model.Image;

import java.util.List;

public interface ImageService{


    int deleteByPrimaryKey(Integer id);

    int insert(Image record);

    int insertSelective(Image record);

    Image selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Image record);

    int updateByPrimaryKey(Image record);

    List<Image> selectByFolderAndUserid(String folder, String userid);

    List<String> selectFolderByUserid(String userid);

    int deleteByFolder(String folder);



}
